<template>
  <el-table :data="tableData" style="width: 100%">
    <el-table-column prop="paramsName" label="名称" width="120">
    </el-table-column>
    <el-table-column prop="paramsDesc" label="变量示例" width="180">
    </el-table-column>
    <el-table-column prop="paramsValue" label="变量名称"> </el-table-column>
  </el-table>
</template>

  <script>
import * as sysparamsApi from '../../api/sysparams'
export default {
  name: "SysParams",
  data() {
    return {
      tableData: [],
    };
  },
  created() {
    this.getInitData()
  },
  methods: {
    getInitData() {
        sysparamsApi.queryAll().then((response) =>{
        let result = response.data
        this.tableData = result.data
        })
    },
  },
};
</script>